#pragma once
#include "cupid.h"

namespace cupid
{

class SyncObject
{
public:

	// Attributes
public:
	HANDLE  m_hObject;

	// Operations
	virtual BOOL Lock(DWORD dwTimeout = INFINITE){ return TRUE; }
	virtual BOOL Unlock() = 0;
	virtual BOOL Unlock(LONG /* lCount */, LPLONG /* lpPrevCount=NULL */){ return TRUE; }

public:
	virtual ~SyncObject(){}

};
}